﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JWUX.Supermarket.Model
{
    /// <summary>
    /// 产线工位实例
    /// </summary>
    public class StationInfo : LocationInfo
    {
        #region 构造
        public StationInfo(string pc)
        {
            PC = pc;
            Bay = new BayInfo();
            this.Type = LocationType.Station;
        }

        public StationInfo()
        {
            PC = Environment.MachineName;
            Bay = new BayInfo();
            this.Type = LocationType.Station;
        }
        #endregion

        #region 属性

        public new LocationType Type
        {
            get;
            private set;
        }

        public BayInfo Bay
        {
            get;
            set;
        }

        public string PC
        {
            get;
            private set;
        }

        #endregion
    }
}
